projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd3221a
)
Restore height and with from that were accidentally removed
author
Mark A. Hershberger
<mah@nichework.com>
Thu, 6 Jun 2019 13:07:36 +0000
(09:07 -0400)
committer
Mark A. Hershberger
<mah@nichework.com>
Thu, 6 Jun 2019 13:07:36 +0000
(09:07 -0400)
See
610fb73ab6d7a22b722f523d6ebc4aa8fa1db7c9
USE_CARIO needs these.
src/image.c
patch
|
blob
|
history
diff --git
a/src/image.c
b/src/image.c
index a95a7bf27f9f8536536772c4f89ca57459c098b7..29cb2fc10b91dd1e72e62976444767261d895898 100644
(file)
--- a/
src/image.c
+++ b/
src/image.c
@@
-2035,6
+2035,8
@@
image_set_rotation (struct image *img, double tm[3][3])
static void
image_set_crop (struct image *img, double tm[3][3])
{
+ int width, height;
+ compute_image_size (img->width, img->height, img->spec, &width, &height);
#ifdef HAVE_NATIVE_TRANSFORMS
# ifdef HAVE_IMAGEMAGICK
/* ImageMagick images are already cropped. */
@@
-2051,7
+2053,7
@@
image_set_crop (struct image *img, double tm[3][3])
# endif
double m[3][3], tmp[3][3];
- int left, top
, width, height
;
+ int left, top;
Lisp_Object x = Qnil;
Lisp_Object y = Qnil;
Lisp_Object w = Qnil;